
break//
//  LJ_Question.m
//  SuperGuess
//
//  Created by 李竞 on 16/2/3.
//  Copyright © 2016年 lionjing. All rights reserved.
//

#import "LJ_Question.h"

@implementation LJ_Question

-(instancetype)initWith_Dict:(NSDictionary *)dict{
    if (self = [super init]) {
        [self setValuesForKeysWithDictionary:dict];
    }
    return self ;
}
+(instancetype)initWith_Dict:(NSDictionary *)dict{
    return [[self alloc]initWith_Dict:dict];
}
+(NSArray *)model_Array{
    NSArray *array = [NSArray arrayWithContentsOfFile:[[NSBundle mainBundle]pathForResource:@"questions.plist" ofType:nil]];
    NSMutableArray *array_M = [NSMutableArray array];
    for (NSDictionary *dict in array) {
        [array_M addObject:[self initWith_Dict:dict]];
    }
    return array_M;

}

@end
